package com.wangdong.mvpretrofitokhttprxjava.view;



import com.wangdong.mvpretrofitokhttprxjava.base.BaseView;
import com.wangdong.mvpretrofitokhttprxjava.model.BaseModel;
import com.wangdong.mvpretrofitokhttprxjava.model.bean.MainBean;
import com.wangdong.mvpretrofitokhttprxjava.model.bean.TextBean;

import java.util.List;

/**
 * File descripition:
 *
 * @author lp
 * @date 2018/6/19
 */

public interface MainView extends BaseView {
    void onMainSuccess(BaseModel<List<MainBean>> o);
    void onTextSuccess(BaseModel<TextBean> o);

    /**
     * 上传图片成功
     * @param o
     */
    void onUpLoadImgSuccess(BaseModel<Object> o);

    /**
     * 加载列表成功
     * @param o
     */
    void onTableListSuccess(BaseModel<Object> o);
    void onRestrictionsSuccess(BaseModel<Object> o);
    void onCheShiSuccess(BaseModel<Object> o);

}
